package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Permission;
import cn.wolfcode.wms.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void save(Permission permission);
    void delete(Long id);
    List<Permission> list();
//    分页查询
    PageInfo<Permission> query(QueryObject qo);

    void reload();
}
